
<div class="artCon">
	<div class="middleArt">
		<input type="hidden" name="cubeid" value="${cubeid!''}"/>
		<div class="artMain">
			<div class="mainCenter">
			<form class="form-horizontal" id="selectForm" data-toggle="ajax-noclose-form" data-target="#tablelist_div" 
			action="/${orgi}/dm/cube/${cubeid}/searchtable.html" method="post">
				<fieldset class="control-group">
					<label class="control-label" for="name">元数据查询：</label>
					<div class="controls">
						<input  class="span5" id ="tablename" maxlength="255" name="searchkey" value ="" type="text"> 
						<span class="help-inline"></span>
						<span class="btnWrap" style="margin-top:0px;">&nbsp;&nbsp;<input type="submit" class="subButtonStyle" value="查询"> </span>
					</div>
				</fieldset>
			</form>
			
			<form class="form-horizontal" id="tableimportForm" name="tableimportForm" data-toggle="form" 
			action="/${orgi}/dm/cube/dbsourceimporto.html" method="post">
				<input type="hidden" name="cubeid" value="${cubeid!''}"/>	
				<div id="searchtable_div">
						<fieldset class="control-group">
							<label class="control-label" for="name">选择元数据：</label>
							<div id="tablelist_div" class="controls">
								<#include "/pages/datamodel/cube/searchtable.html"/>
							</div>
						</fieldset>
				</div>
				
				<div class="bottomBg">
					<div class="btnWrap">
						<input type="button" onclick="if($('#tableids').val()!=null&&$('#tableids').val().length>0){$('#tableimportForm').submit();}else{alertMsg('请选择要导入的元数据。')}" class="subButtonStyle" value="确认"/>
						<input type="button" onclick="closeR3ArtDialog()" class="cancelButtonStyle" value="取消"/>
					</div>
				</div>
			</form>
			</div>
		</div>
	</div>
</div>
<script type="text/javascript">
	$(function(){
		$(".mainCenter ul li").hover(function(){
			$(this).addClass("cur").siblings("li").removeClass("cur");
		},function(){
			$(this).removeClass("cur");	
		});
	})
</script>
 


 